home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr53
/
cismsg15.zip
/
IMPORT.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-30
|
2KB
|
91 lines
@Echo off
rem If messages are not being handled like you want
rem ie: you want them deleted after import -- just
rem delete IMPORT.EXE (Compiled Batch file by BUILDER)
rem and make changes to proper section below.
rem (Now you know why I call my Company BAT-Systems!)
If "%1" == "Oz1msg" goto Oz1msg
If "%1" == "Oz2msg" goto Oz2msg
If "%1" == "Tc1msg" goto Tc1msg
If "%1" == "Oz1cat" goto Oz1cat
If "%1" == "Oz2cat" goto Oz1cat
If "%1" == "Tc1cat" goto Tc1cat
:Oz1msg
rem Handles OzCIS message import for another directory
rem Oz1msg
@echo off
del *.msg > junk
copy %2%3 %4*.msg > Junk
rem del %2%3 > Junk
cistats > junk
GOTO DONE
:Oz2msg
rem Handles OzCIS message import for current directory
rem Oz2msg
@echo off
del *.msg > junk
copy *.mes *.msg > junk
rem del d:\ozcis\cisdata\*.mes > junk
cistats > junk
GOTO DONE
:Tc1msg
rem Handles TapCis message import for another directory
rem Tc1msg
@echo off
del *.msg > junk
copy %2%3 %4 > Junk
rem del %2%3 > Junk
cistats > junk
GOTO DONE
:Oz1cat
rem Handles OzCIS catalog import for another directory
rem Oz1cat
@Echo off
Del *.cat > junk
copy %2%3 %4*.cat > Junk
dls > nul
GOTO DONE
:Oz2cat
rem Handles OzCIS catalog import for current directory
rem Oz2cat
@echo off
del *.bat > nul
copy *.l?? *.cat > junk
dls > nul
GOTO DONE
:Tc1cat
rem Handles TapCIS catalog import for another directory
rem Tc1cat
@echo off
copy %2%3 %4 > Junk
dls > nul
GOTO DONE
:DONE